﻿<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint" Title="Provisioner Scripts" FolderCreation="FALSE" EnableContentTypes="TRUE"  DisableAttachments="TRUE" Direction="$Resources:Direction;" Url="Lists/ProvisionerScripts" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
      <ContentTypes>
        <ContentType ID="0x01009B8F4CA016E841C78925A2BA479F232D" Name="Provisioner Instruction"
               Group="List Content Types" Description="Associate new Provisioner script with a site template"
               Version="2" FeatureId="{e3509527-8096-4516-ab86-d030ff5d4b47}">
          <FieldRefs>
            <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType" />
            <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="TRUE" />
            <FieldRef ID="{3351D74B-EF14-4C5D-A14F-21E15298C8D2}" Name="Templates" Required="TRUE" />
            <FieldRef ID="{B6B88441-048F-45EB-BC78-3687BA26A286}" Name="Script" Required="TRUE" />
            <FieldRef ID="{F865DFB9-B896-4DB9-B75E-379AA5FFB437}" Name="ContentType0"/>
            <FieldRef ID="{9C1AD08E-1BA8-48D7-8542-18EF342195B4}" Name="WebUrl" Required="FALSE"/>
            <FieldRef ID="{A960F395-1862-4CC9-A651-2063C59198E9}" Name="WebTitle" Required="FALSE"/>
          </FieldRefs>
          <XmlDocuments>
            <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
              <FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
                <Display>ListForm</Display>
                <Edit>ListForm</Edit>
                <New>ListForm</New>
              </FormTemplates>
            </XmlDocument>
          </XmlDocuments>
          <Folder TargetName="Item" />
        </ContentType>
        <ContentTypeRef ID="0x0120" />
      </ContentTypes>
    <Fields>
      <Field Name="Templates" StaticName="Templates" DisplayName="Web Templates"  Type="Text" Id="{3351D74B-EF14-4C5D-A14F-21E15298C8D2}" Required="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3"              />
      <Field Name="Script" StaticName="Script" DisplayName="Script to Execute" Type="Note" Id="{B6B88441-048F-45EB-BC78-3687BA26A286}" Required="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3/" />
      <Field Name="ContentType0" StaticName="ContentType0" DisplayName="Content Type" Description="ProvisionerUI: Content type to be keyed off of Provisioner UI" Type="Text" Id="{F865DFB9-B896-4DB9-B75E-379AA5FFB437}" Required="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3/" />
      <Field Name="WebUrl" StaticName="WebUrl" DisplayName="Web Url" Description="ProvisionerUI: URL the web will be provisioned at, i.e. /SomeHostWeb/MyProvisionedWeb" Type="Text" Id="{9C1AD08E-1BA8-48D7-8542-18EF342195B4}" Required="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3/" />
      <Field Name="WebTitle" StaticName="WebTitle" DisplayName="Web Title" Description="ProvisionerUI: Title for the provisioned web, i.e. MyProvisionedWeb" Type="Text" Id="{A960F395-1862-4CC9-A651-2063C59198E9}" Required="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3/" />
    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar />
        <XslLink>main.xsl</XslLink>
        <ViewBody>
          <HTML><![CDATA[<tr class="]]></HTML>
          <GetVar Name="AlternateStyle" />
          <HTML><![CDATA["]]></HTML>
          <Switch>
            <Expr>
              <GetVar Name="TabularView" />
            </Expr>
            <Case Value="1">
              <HTML><![CDATA[ iid="]]></HTML>
              <Counter Type="View" />
              <HTML>,</HTML>
              <Column Name="ID" HTMLEncode="TRUE" />
              <HTML><![CDATA[,]]></HTML>
              <LookupColumn Name="FSObjType" HTMLEncode="TRUE" />
              <HTML><![CDATA["><td class="ms-vb-itmcbx"><input type="checkbox" class="s4-itm-cbx"/></td>]]></HTML>
            </Case>
            <Default>
              <HTML><![CDATA[>]]></HTML>
            </Default>
          </Switch>
          <IfEqual>
            <Expr1>
              <GetVar Name="AlternateStyle" />
            </Expr1>
            <Expr2>ms-alternating</Expr2>
            <Then>
              <SetVar Scope="Request" Name="AlternateStyle"></SetVar>
            </Then>
            <Else>
              <SetVar Scope="Request" Name="AlternateStyle">ms-alternating</SetVar>
            </Else>
          </IfEqual>
          <Fields>
            <HTML><![CDATA[<td class="]]></HTML>
            <FieldSwitch>
              <Expr>
                <Property Select="ClassInfo" />
              </Expr>
              <Case Value="Menu">
                <HTML><![CDATA[ms-vb-title" onmouseover="OnChildItem(this)" height="100%]]></HTML>
              </Case>
              <Case Value="Icon">ms-vb-icon</Case>
              <Default>
                <FieldSwitch>
                  <Expr>
                    <Property Select="Type" />
                    <PresenceEnabled />
                  </Expr>
                  <Case Value="UserTRUE">ms-vb-user</Case>
                  <Case Value="UserMultiTRUE">ms-vb-user</Case>
                  <Default>ms-vb2</Default>
                </FieldSwitch>
              </Default>
            </FieldSwitch>
            <HTML><![CDATA[">]]></HTML>
            <Field />
            <HTML><![CDATA[</td>]]></HTML>
          </Fields>
          <HTML><![CDATA[</tr>]]></HTML>
        </ViewBody>
        <RowLimit>20</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitleNoMenu"></FieldRef>
          <FieldRef Name="Templates"></FieldRef>
          <FieldRef Name="Script"></FieldRef>
          <FieldRef Name="ContentType0"></FieldRef>
          <FieldRef Name="WebUrl"></FieldRef>
          <FieldRef Name="WebTitle"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
        <Toolbar />
        <XslLink>main.xsl</XslLink>
        <ViewBody>
          <HTML><![CDATA[<tr class="]]></HTML>
          <GetVar Name="AlternateStyle" />
          <HTML><![CDATA["]]></HTML>
          <Switch>
            <Expr>
              <GetVar Name="TabularView" />
            </Expr>
            <Case Value="1">
              <HTML><![CDATA[ iid="]]></HTML>
              <Counter Type="View" />
              <HTML>,</HTML>
              <Column Name="ID" HTMLEncode="TRUE" />
              <HTML><![CDATA[,]]></HTML>
              <LookupColumn Name="FSObjType" HTMLEncode="TRUE" />
              <HTML><![CDATA["><td class="ms-vb-itmcbx"><input type="checkbox" class="s4-itm-cbx"/></td>]]></HTML>
            </Case>
            <Default>
              <HTML><![CDATA[>]]></HTML>
            </Default>
          </Switch>
          <IfEqual>
            <Expr1>
              <GetVar Name="AlternateStyle" />
            </Expr1>
            <Expr2>ms-alternating</Expr2>
            <Then>
              <SetVar Scope="Request" Name="AlternateStyle"></SetVar>
            </Then>
            <Else>
              <SetVar Scope="Request" Name="AlternateStyle">ms-alternating</SetVar>
            </Else>
          </IfEqual>
          <Fields>
            <HTML><![CDATA[<td class="]]></HTML>
            <FieldSwitch>
              <Expr>
                <Property Select="ClassInfo" />
              </Expr>
              <Case Value="Menu">
                <HTML><![CDATA[ms-vb-title" onmouseover="OnChildItem(this)" height="100%]]></HTML>
              </Case>
              <Case Value="Icon">ms-vb-icon</Case>
              <Default>
                <FieldSwitch>
                  <Expr>
                    <Property Select="Type" />
                    <PresenceEnabled />
                  </Expr>
                  <Case Value="UserTRUE">ms-vb-user</Case>
                  <Case Value="UserMultiTRUE">ms-vb-user</Case>
                  <Default>ms-vb2</Default>
                </FieldSwitch>
              </Default>
            </FieldSwitch>
            <HTML><![CDATA[">]]></HTML>
            <Field />
            <HTML><![CDATA[</td>]]></HTML>
          </Fields>
          <HTML><![CDATA[</tr>]]></HTML>
        </ViewBody>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="Templates"></FieldRef>
          <FieldRef Name="Script"></FieldRef>
          <FieldRef Name="ContentType0"></FieldRef>
          <FieldRef Name="WebUrl"></FieldRef>
          <FieldRef Name="WebTitle"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="ID"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>